<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./LogInTemplate.xhtml">

            <ui:define name="top">
                <p:panel>
                    <br/>
                    <h1>Are you fully sure...?</h1>
                    <br/>
                    <br/>
                </p:panel>
            </ui:define>

            <ui:define name="content">
                <f:view>
                    <h:form>
                        <p:panel>
                            <center>
                                <h:panelGrid columns="2">
                                    <h:outputText value="Control Number:"/>
                                    <h:outputText value="#{studentBean.student.controlNumber}" title="ControlNumber"/>
                                    <h:outputText value="Name:"/>
                                    <h:outputText value="#{studentBean.student.name}" title="Name"/>
                                    <h:outputText value="First Name:"/>
                                    <h:outputText value="#{studentBean.student.firstname}" title="Firstname"/>
                                    <h:outputText value="Last Name:"/>
                                    <h:outputText value="#{studentBean.student.lastname}" title="Lastname"/>
                                    <h:outputText value="Id Course:"/>
                                    <h:outputText value="#{studentBean.selectedCourse}" title="IdCourse"/>
                                </h:panelGrid>
                                <p:commandButton value="Accept" action="#{studentBean.processAction}" ajax="false"/>
                                <p:commandButton value="Cancel" action="StudentCreateEdit"/>
                            </center>
                        </p:panel>

                    </h:form>
                </f:view>

            </ui:define>

        </ui:composition>

    </body>
</html>
